
**********************************************************
* Table 2: Presidential Approval and Unilateral Activity *
**********************************************************

use "approval_unilateral.dta", clear

** Top panel
quietly var newapprovalkalman eosnytwithinyear, lag(1/2) exog(jfk-trump dg ics war anylaw) 
vargranger 

quietly var newapprovalkalman sum_sigadj, lag(1/2) exog(jfk-trump dg ics war anylaw) 
vargranger 

** Bottom panel
quietly var newapprovalkalman sig_action, lag(1/2) exog(jfk-trump dg ics war anylaw) 
vargranger 

quietly var newapprovalkalman summed_sig, lag(1/2) exog(jfk-trump dg ics war anylaw) 
vargranger 


**********************************************************
* Table 3: News Pressure and the Timing of Unilateralism *
**********************************************************

use "unilateral_media.dta",clear

reg EO corr_dnp nextday_corr_dnp prevday_corr_dnp prevday_corr_dnp_2 prevday_corr_dnp_3 prevday_corr_dnp_4 prevday_corr_dnp_5 prevday_corr_dnp_6 prevday_corr_dnp_7 nextday_corr_dnp_2 nextday_corr_dnp_3 nextday_corr_dnp_4 nextday_corr_dnp_5 nextday_corr_dnp_6 nextday_corr_dnp_7  __month* __year* __dow*  week_no, cluster(year_month)

reg EO corr_dnp corr_dnp_Div nextday_corr_dnp nextday_corr_dnp_Div prevday_corr_dnp  prevday_corr_dnp_Div prevday_corr_dnp_2 prevday_corr_dnp_3 prevday_corr_dnp_4     prevday_corr_dnp_5 prevday_corr_dnp_6 prevday_corr_dnp_7 prevday_corr_dnp_2_div prevday_corr_dnp_3_div prevday_corr_dnp_4_div prevday_corr_dnp_5_div prevday_corr_dnp_6_div prevday_corr_dnp_7_div nextday_corr_dnp_2 nextday_corr_dnp_3 nextday_corr_dnp_4     nextday_corr_dnp_5 nextday_corr_dnp_6 nextday_corr_dnp_7 nextday_corr_dnp_2_div nextday_corr_dnp_3_div nextday_corr_dnp_4_div nextday_corr_dnp_5_div nextday_corr_dnp_6_div nextday_corr_dnp_7_div __month* __year* __dow* week_no, cluster(year_month)

reg any_directives corr_dnp nextday_corr_dnp prevday_corr_dnp prevday_corr_dnp_2 prevday_corr_dnp_3 prevday_corr_dnp_4 prevday_corr_dnp_5 prevday_corr_dnp_6 prevday_corr_dnp_7 nextday_corr_dnp_2 nextday_corr_dnp_3 nextday_corr_dnp_4 nextday_corr_dnp_5 nextday_corr_dnp_6 nextday_corr_dnp_7 __month* __year* __dow*  week_no , cluster(year_month)

reg any_directives corr_dnp corr_dnp_Div nextday_corr_dnp  nextday_corr_dnp_Div  prevday_corr_dnp prevday_corr_dnp_Div prevday_corr_dnp_2 prevday_corr_dnp_3    prevday_corr_dnp_4 prevday_corr_dnp_5 prevday_corr_dnp_6 prevday_corr_dnp_7  prevday_corr_dnp_2_div prevday_corr_dnp_3_div prevday_corr_dnp_4_div prevday_corr_dnp_5_div prevday_corr_dnp_6_div prevday_corr_dnp_7_div nextday_corr_dnp_2 nextday_corr_dnp_3     nextday_corr_dnp_4 nextday_corr_dnp_5 nextday_corr_dnp_6 nextday_corr_dnp_7  nextday_corr_dnp_2_div nextday_corr_dnp_3_div nextday_corr_dnp_4_div nextday_corr_dnp_5_div nextday_corr_dnp_6_div nextday_corr_dnp_7_div __month* __year* __dow* week_no, cluster(year_month)
		

reg   any_sig_directives corr_dnp  nextday_corr_dnp prevday_corr_dnp prevday_corr_dnp_2 prevday_corr_dnp_3 prevday_corr_dnp_4 prevday_corr_dnp_5 prevday_corr_dnp_6 prevday_corr_dnp_7 nextday_corr_dnp_2 nextday_corr_dnp_3 nextday_corr_dnp_4 nextday_corr_dnp_5 nextday_corr_dnp_6 nextday_corr_dnp_7  __month* __year* __dow*  week_no , cluster(year_month)

reg any_sig_directives corr_dnp corr_dnp_Div nextday_corr_dnp nextday_corr_dnp_Div  prevday_corr_dnp prevday_corr_dnp_Div prevday_corr_dnp_2 prevday_corr_dnp_3   prevday_corr_dnp_4 prevday_corr_dnp_5 prevday_corr_dnp_6 prevday_corr_dnp_7  prevday_corr_dnp_2_div prevday_corr_dnp_3_div prevday_corr_dnp_4_div prevday_corr_dnp_5_div prevday_corr_dnp_6_div prevday_corr_dnp_7_div nextday_corr_dnp_2 nextday_corr_dnp_3     nextday_corr_dnp_4 nextday_corr_dnp_5 nextday_corr_dnp_6 nextday_corr_dnp_7  nextday_corr_dnp_2_div nextday_corr_dnp_3_div nextday_corr_dnp_4_div nextday_corr_dnp_5_div nextday_corr_dnp_6_div nextday_corr_dnp_7_div __month* __year* __dow* week_no, cluster(year_month)



**************************
* Table E.1: Diagnostics *
**************************

use "approval_unilateral.dta", clear

dfuller newapprovalkalman
dfuller sig_action
dfuller summed_sig
dfuller sig_action_eo
dfuller summed_sig_eo
dfuller sig_action_mm
dfuller summed_sig_mm
dfuller sig_action_pr
dfuller summed_sig_pr

pperron newapprovalkalman
pperron sig_action
pperron summed_sig
pperron sig_action_eo
pperron summed_sig_eo
pperron sig_action_mm
pperron summed_sig_mm
pperron sig_action_pr
pperron summed_sig_pr


*********************************************
* Table E.2: Distinguishing Directive Types *
*********************************************

** Executive orders only
quietly var newapprovalkalman sig_action_eo, lag(1/2) exog(jfk-trump dg ics war anylaw) 
vargranger 

quietly var newapprovalkalman summed_sig_eo, lag(1/2) exog(jfk-trump dg ics war anylaw) 
vargranger 

** Memoranda only
quietly var newapprovalkalman sig_action_mm, lag(1/2) exog(jfk-trump dg ics war anylaw) 
vargranger 

quietly var newapprovalkalman summed_sig_mm, lag(1/2) exog(jfk-trump dg ics war anylaw) 
vargranger 

** Proclamations only
quietly var newapprovalkalman sig_action_pr, lag(1/2) exog(jfk-trump dg ics war anylaw) 
vargranger 

quietly var newapprovalkalman summed_sig_pr, lag(1/2) exog(jfk-trump dg ics war anylaw) 
vargranger 


*************************************************************************************
* Table E.3: Full results for replication of Djourelova and Durante (2022, table 3) *
*************************************************************************************

use "unilateral_media.dta",clear

** Panel A

reg any_directives corr_dnp nextday_corr_dnp  __month* __year* __dow* week_no, cluster(year_month)

reg any_directives corr_dnp  nextday_corr_dnp prevday_corr_dnp  prevday_corr_dnp_2 prevday_corr_dnp_3 prevday_corr_dnp_4 prevday_corr_dnp_5 prevday_corr_dnp_6 prevday_corr_dnp_7  __month* __year* __dow*  week_no, cluster(year_month)

reg any_directives corr_dnp  nextday_corr_dnp prevday_corr_dnp prevday_corr_dnp_2 prevday_corr_dnp_3 prevday_corr_dnp_4 prevday_corr_dnp_5 prevday_corr_dnp_6 prevday_corr_dnp_7 nextday_corr_dnp_2 nextday_corr_dnp_3 nextday_corr_dnp_4 nextday_corr_dnp_5 nextday_corr_dnp_6 nextday_corr_dnp_7 __month* __year* __dow* week_no , cluster(year_month)

reg any_directives corr_dnp corr_dnp_Div nextday_corr_dnp nextday_corr_dnp_Div prevday_corr_dnp prevday_corr_dnp_Div prevday_corr_dnp_2 prevday_corr_dnp_3     prevday_corr_dnp_4 prevday_corr_dnp_5 prevday_corr_dnp_6 prevday_corr_dnp_7  prevday_corr_dnp_2_div prevday_corr_dnp_3_div prevday_corr_dnp_4_div prevday_corr_dnp_5_div prevday_corr_dnp_6_div prevday_corr_dnp_7_div nextday_corr_dnp_2 nextday_corr_dnp_3     nextday_corr_dnp_4 nextday_corr_dnp_5 nextday_corr_dnp_6 nextday_corr_dnp_7 nextday_corr_dnp_2_div nextday_corr_dnp_3_div nextday_corr_dnp_4_div nextday_corr_dnp_5_div nextday_corr_dnp_6_div nextday_corr_dnp_7_div __month* __year* __dow*  week_no, cluster(year_month)

reg any_directives corr_dnp	nextday_corr_dnp __month* __year* __dow* week_no if divided==1, cluster(year_month)

reg any_directives corr_dnp nextday_corr_dnp prevday_corr_dnp  prevday_corr_dnp_2 prevday_corr_dnp_3 prevday_corr_dnp_4 prevday_corr_dnp_5 prevday_corr_dnp_6 prevday_corr_dnp_7 __month* __year* __dow* week_no if divided==1, cluster(year_month)

reg any_directives corr_dnp nextday_corr_dnp prevday_corr_dnp prevday_corr_dnp_2 prevday_corr_dnp_3 prevday_corr_dnp_4 prevday_corr_dnp_5 prevday_corr_dnp_6 prevday_corr_dnp_7 nextday_corr_dnp_2 nextday_corr_dnp_3 nextday_corr_dnp_4 nextday_corr_dnp_5 nextday_corr_dnp_6 nextday_corr_dnp_7 __month* __year* __dow* week_no if divided==1, cluster(year_month)

reg any_directives corr_dnp	nextday_corr_dnp __month* __year* __dow* week_no if divided==0, cluster(year_month)

reg any_directives corr_dnp nextday_corr_dnp prevday_corr_dnp prevday_corr_dnp_2 prevday_corr_dnp_3 prevday_corr_dnp_4 prevday_corr_dnp_5 prevday_corr_dnp_6 prevday_corr_dnp_7 __month* __year* __dow*  week_no if divided==0 , cluster(year_month)

reg any_directives corr_dnp nextday_corr_dnp prevday_corr_dnp prevday_corr_dnp_2 prevday_corr_dnp_3 prevday_corr_dnp_4 prevday_corr_dnp_5 prevday_corr_dnp_6 prevday_corr_dnp_7 nextday_corr_dnp_2 nextday_corr_dnp_3 nextday_corr_dnp_4 nextday_corr_dnp_5 nextday_corr_dnp_6 nextday_corr_dnp_7 __month* __year* __dow* week_no  if divided==0 , cluster(year_month)
		

** Panel B

reg any_sig_directives corr_dnp	nextday_corr_dnp __month* __year* __dow* week_no, cluster(year_month)

reg any_sig_directives corr_dnp  nextday_corr_dnp prevday_corr_dnp  prevday_corr_dnp_2 prevday_corr_dnp_3 prevday_corr_dnp_4 prevday_corr_dnp_5 prevday_corr_dnp_6 prevday_corr_dnp_7  __month* __year* __dow*  week_no, cluster(year_month)

reg any_sig_directives corr_dnp  nextday_corr_dnp prevday_corr_dnp prevday_corr_dnp_2 prevday_corr_dnp_3 prevday_corr_dnp_4 prevday_corr_dnp_5 prevday_corr_dnp_6 prevday_corr_dnp_7 nextday_corr_dnp_2 nextday_corr_dnp_3 nextday_corr_dnp_4 nextday_corr_dnp_5 nextday_corr_dnp_6 nextday_corr_dnp_7  __month* __year* __dow*  week_no, cluster(year_month)

reg any_sig_directives corr_dnp corr_dnp_Div nextday_corr_dnp nextday_corr_dnp_Div  prevday_corr_dnp prevday_corr_dnp_Div prevday_corr_dnp_2 prevday_corr_dnp_3     prevday_corr_dnp_4 prevday_corr_dnp_5 prevday_corr_dnp_6 prevday_corr_dnp_7  prevday_corr_dnp_2_div prevday_corr_dnp_3_div prevday_corr_dnp_4_div prevday_corr_dnp_5_div prevday_corr_dnp_6_div prevday_corr_dnp_7_div  nextday_corr_dnp_2 nextday_corr_dnp_3     nextday_corr_dnp_4 nextday_corr_dnp_5 nextday_corr_dnp_6 nextday_corr_dnp_7  nextday_corr_dnp_2_div nextday_corr_dnp_3_div nextday_corr_dnp_4_div nextday_corr_dnp_5_div nextday_corr_dnp_6_div nextday_corr_dnp_7_div  __month* __year* __dow*  week_no, cluster(year_month)

reg any_sig_directives corr_dnp	nextday_corr_dnp __month* __year* __dow* week_no  if divided==1, cluster(year_month)

reg any_sig_directives corr_dnp nextday_corr_dnp prevday_corr_dnp prevday_corr_dnp_2 prevday_corr_dnp_3 prevday_corr_dnp_4 prevday_corr_dnp_5 prevday_corr_dnp_6 prevday_corr_dnp_7 __month* __year* __dow* week_no  if divided==1, cluster(year_month)

reg any_sig_directives corr_dnp  nextday_corr_dnp prevday_corr_dnp prevday_corr_dnp_2 prevday_corr_dnp_3 prevday_corr_dnp_4 prevday_corr_dnp_5 prevday_corr_dnp_6 prevday_corr_dnp_7 nextday_corr_dnp_2 nextday_corr_dnp_3 nextday_corr_dnp_4 nextday_corr_dnp_5 nextday_corr_dnp_6 nextday_corr_dnp_7 __month* __year* __dow* week_no if divided==1, cluster(year_month)

reg any_sig_directives corr_dnp nextday_corr_dnp __month* __year* __dow* week_no if divided==0, cluster(year_month)

reg any_sig_directives corr_dnp  nextday_corr_dnp prevday_corr_dnp prevday_corr_dnp_2 prevday_corr_dnp_3 prevday_corr_dnp_4 prevday_corr_dnp_5 prevday_corr_dnp_6 prevday_corr_dnp_7 __month* __year* __dow* week_no if divided==0, cluster(year_month)

reg any_sig_directives corr_dnp nextday_corr_dnp prevday_corr_dnp  prevday_corr_dnp_2 prevday_corr_dnp_3 prevday_corr_dnp_4 prevday_corr_dnp_5 prevday_corr_dnp_6 prevday_corr_dnp_7  nextday_corr_dnp_2 nextday_corr_dnp_3 nextday_corr_dnp_4 nextday_corr_dnp_5 nextday_corr_dnp_6 nextday_corr_dnp_7  __month* __year* __dow* week_no if divided==0, cluster(year_month)
		